<%= render :partial => "/tr8n/admin/common/header" %>
<%= render :partial => "tabs" %>
<%= tr8n_will_filter(@case_rules) %>

<%= form_tag("", :id => "rules_form") do %>
  <%= will_filter_table_tag(@case_rules, :columns => [
    [:icn, image_tag("tr8n/icons/lightning.png"), :title => "", :style => "width:12px;"],
    [:language_id, lambda{|lcase|
      if lcase.language
        link_to(lcase.language.english_name, :controller => "/tr8n/admin/language", :action => :view, :lang_id => lcase.language.id)
      else
         "Deleted Language"    
      end  
    }], :description, 
    [:translator_id, lambda{|lcase|
      if lcase.translator
        link_to(lcase.translator.name, :controller => "/tr8n/admin/translator", :action => :view, :translator_id => lcase.translator.id)
      else
        "System Generated" 
      end  
    }], :created_at
   ]) %>
<% end %>

<%= render :partial => "/tr8n/admin/common/footer" %>
